import request from '@/utils/request'

export function addUndeliveredHandoverByHouseId(id) {
  return request({
    url: 'handover/undelivered/' + id,
    method: 'post'
  })
}

export function getUndeliveredHandoverInfo(id) {
  return request({
    url: 'handover/undelivered/' + id,
    method: 'get'
  })
}

export function delUndeliveredHandoverByHouseId(id) {
  return request({
    url: 'handover/undelivered/' + id,
    method: 'delete'
  })
}

export function undeliveredEdit(data) {
  return request({
    url: 'handover/undelivered',
    method: 'put',
    data
  })
}

export function undeliveredSubmitStep1(data) {
  return request({
    url: 'handover/undelivered/step1',
    method: 'post',
    data
  })
}

export function undeliveredSubmitStep2(data) {
  return request({
    url: 'handover/undelivered/step2',
    method: 'post',
    data
  })
}

export function undeliveredSubmitStep3(data) {
  return request({
    url: 'handover/undelivered/step3',
    method: 'post',
    data
  })
}

export function undeliveredSubmitStep4(data) {
  return request({
    url: 'handover/undelivered/step4',
    method: 'post',
    data
  })
}

export function undeliveredSubmitStep5(data) {
  return request({
    url: 'handover/undelivered/step5',
    method: 'post',
    data
  })
}

export function undeliveredSubmitStep6(data) {
  return request({
    url: 'handover/undelivered/step6',
    method: 'post',
    data
  })
}

export function undeliveredJump(data) {
  return request({
    url: 'handover/undelivered/jump',
    method: 'post',
    data
  })
}

export function addRentHandoverByHouseId(id) {
  return request({
    url: 'handover/rent/' + id,
    method: 'post'
  })
}

export function getRentHandoverInfo(id) {
  return request({
    url: 'handover/rent/' + id,
    method: 'get'
  })
}

export function delRentHandoverByHouseId(id) {
  return request({
    url: 'handover/rent/' + id,
    method: 'delete'
  })
}

export function rentHandoverEdit(data) {
  return request({
    url: 'handover/rent',
    method: 'put',
    data
  })
}

export function rentSubmitStep1(data) {
  return request({
    url: 'handover/rent/step1',
    method: 'post',
    data
  })
}

export function rentSubmitStep2(data) {
  return request({
    url: 'handover/rent/step2',
    method: 'post',
    data
  })
}

export function rentSubmitStep3(data) {
  return request({
    url: 'handover/rent/step3',
    method: 'post',
    data
  })
}

export function rentSubmitStep4(data) {
  return request({
    url: 'handover/rent/step4',
    method: 'post',
    data
  })
}

export function rentJump(data) {
  return request({
    url: 'handover/rent/jump',
    method: 'post',
    data
  })
}

export function addIdleHandoverByHouseId(id) {
  return request({
    url: 'handover/idle/' + id,
    method: 'post'
  })
}

export function getIdleHandoverinfo(id) {
  return request({
    url: 'handover/idle/' + id,
    method: 'get'
  })
}

export function delIdleHandoverByHouseId(id) {
  return request({
    url: 'handover/idle/' + id,
    method: 'delete'
  })
}

export function idleHandoverEdit(data) {
  return request({
    url: 'handover/idle',
    method: 'put',
    data
  })
}

export function idleSubmitStep1(data) {
  return request({
    url: 'handover/idle/step1',
    method: 'post',
    data
  })
}

export function idleSubmitStep2(data) {
  return request({
    url: 'handover/idle/step2',
    method: 'post',
    data
  })
}

export function idleSubmitStep3(data) {
  return request({
    url: 'handover/idle/step3',
    method: 'post',
    data
  })
}

export function idleSubmitStep4(data) {
  return request({
    url: 'handover/idle/step4',
    method: 'post',
    data
  })
}

export function idleSubmitStep5(data) {
  return request({
    url: 'handover/idle/step5',
    method: 'post',
    data
  })
}

export function idleJump(data) {
  return request({
    url: 'handover/idle/jump',
    method: 'post',
    data
  })
}
